<div id="addSupplierPage" v-cloak>
    <!-- 外协商 start -->
    <el-dialog title="添加供应商" :visible.sync="supplierPageVisible" width= "30%">
        <el-form :model="suppForm" :rules="addRules" ref="addSupplierForm" size="medium">
            <!--<el-form-item label="供应商名称：" label-width="120px">-->
                <!--<template scope="scope" >-->
                    <!--<el-select-->
                            <!--size="small"-->
                            <!--v-model.trim="suppForm.supplierName"-->
                            <!--filterable-->
                            <!--remote-->
                            <!--default-first-option-->
                            <!--reserve-keyword-->
                            <!--placeholder="请输入供应商名称!"-->
                            <!--:remote-method="serachSupplier"-->
                            <!--:loading="supplierLoading"-->
                            <!--@change="selectSupplier">-->
                        <!--<el-option-->
                                <!--v-for="item in supplierData"-->
                                <!--:key="item.supplierId"-->
                                <!--:label="item.supplierName"-->
                                <!--:value="item.supplierId">-->
                        <!--</el-option>-->
                    <!--</el-select>-->
                <!--</template>-->
            <!--</el-form-item>-->
        <!--添加工艺!-->
            <el-form-item label="供应商名称：" label-width="120px" prop="supplierName">
                <el-input v-model.trim="suppForm.supplierName" auto-complete="off" placeholder="请输入供应商名称"></el-input>
            </el-form-item>
            <el-form-item label="制作工序：" label-width="120px" prop="attributeName">
                <el-input v-model.trim="suppForm.attributeName" auto-complete="off" placeholder="请输入制作工序"></el-input>
            </el-form-item>

            <el-form-item label="费用：" label-width="120px" prop="cost">
                <el-input-number  v-model.trim="suppForm.cost"    :min="0" :max="999999" label="费用"></el-input-number><span> 元</span>
            </el-form-item>

            <el-form-item label="备注：" label-width="120px">
                <el-input v-model.trim="suppForm.csRemark" auto-complete="off"></el-input>
            </el-form-item>
        </el-form>
        <div slot="footer" class="dialog-footer">
            <el-button size="small" type="primary" @click="suppFormSave">确 定</el-button>
            <el-button size="small" @click="supplierPageVisible = false">返回</el-button>
        </div>
    </el-dialog>
</div>
<script src="${request.contextPath}/statics/js/modules/order/twbAddSupplier.js?_${.now?long}"></script>